package cn.zktr.Personnel.model.dao.zhouxiong;

import java.sql.Timestamp;
import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import cn.zktr.Personnel.model.pojos.PerCwaRem;
@Repository
public interface CwaRemDao extends  CrudRepository<PerCwaRem,Integer>{
	@Query("select c from PerCwaRem c where c.itime=?1")
	public PerCwaRem findOne(String itime);
	
	@Query("select c from PerCwaRem c where c.imouthyear=?1")
	public List<PerCwaRem> findAll(String imouthyear);
	
	@Query("select c from PerCwaRem c where c.itime=?1")
	public List<PerCwaRem> findMany(String itime);
}
